#include "stdafx.h"
#include "Material.h"

using namespace mgfx;

Material::Material(Material & mat)
{
	*this = mat;
}

Material & Material::operator=(Material & mat)
{
	DiffuseColor = mat.DiffuseColor;
	SpecularColor = mat.SpecularColor;
	Shader = mat.Shader;
	DiffuseMap = mat.DiffuseMap;
	NormalMap = mat.NormalMap;
	return *this;
}